﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.DataAccess.Interfaces;
using Core.Model;
using Core.Logic.Interfaces;

namespace Core.Logic.Implementations
{
    public class TagLogicProvider:LogicProvider<Tag>,ITagLogicProvider
    {
        public TagLogicProvider(IModelDataProvider<Tag> modelDataProvider) 
            : base(modelDataProvider)
        {

        }


        #region Implementation of ITagLogicProvider

        public Tag GetTagByName(string tagName)
        {
            return ((ITagDataProvider)ModelDataProvider).GetTagByName(tagName);
        }

        #endregion
    }
}
